<template>
	<view class="attention_content">
		<van-tabs  background='#f8f8f8' v-model="activeName">
			<van-tab title="全部" name="a">
					<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view>
					<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view>
					<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view>
			</van-tab>
			<van-tab title="已结束" name="b">	<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view>
					<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view>
					<view class="all_list">
						<image src="../../../static/attestation/all_list.png" mode=""></image>
					</view></van-tab>
		</van-tabs>
		<view class="train">
			培训项目
			<view class="more">
					更多<van-icon name="arrow"  />
			</view>
		</view>
		<view class="train_list">
			<image src="../../../static/home/train_list1.png" mode=""></image>
		</view>
		<view class="train_list">
			<image src="../../../static/home/train_list2.png" mode=""></image>
		</view>
		<view class="train_list">
			<image src="../../../static/home/train_list3.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				activeName: 'a'
			}
		},
	}
</script>

<style scoped lang="scss">

	.attention_content {
		overflow-y: auto;
		box-sizing: border-box;
		background-color: #f8f8f8;
		height: 100vh;
		width: 100%;
		padding: 32rpx;
		.all_list{
			margin-top: 32rpx;
			width: 686rpx;
			height: 280rpx;
			background-color: #fff;
			border-radius: 16rpx; 
			image{
				width: 100%;
				height: 100%;
			}
		}
		.train{
			margin: 36rpx 0 30rpx 0;
			font-size: 32rpx;
			color: #282828;
			.more{
				width: 80rpx;
				line-height: 42rpx;
				font-size: 24rpx;
				color: rgba(40, 40, 40, 0.4);
				float: right;
				
			}
		}
		.train_list{
			background-color: #fff;
			border-radius: 16rpx;
			width: 686rpx;
			height: 312rpx;
			overflow: hidden;
			margin-bottom: 24rpx;
			image {
				width: 100%;
				height: 100%;
			}
		}
		.train_list:nth-last-child(1){
			margin-bottom: 0rpx;
		}
	}
</style>